package com.mama100.rpc.terminal.client;

import com.alibaba.fastjson.JSON;
import com.biostime.rpc.terminal.thrift.inout.common.BaseRequest;

/**
 * <p>
 * 说明
 * </p>
 *
 * @author yangrzh 2014/7/31
 */
public class Util {

    public static BaseRequest getBaseRequest() {
        BaseRequest baseRequest = new BaseRequest();
        baseRequest.setSeqNo("1234567890");
        return baseRequest;
    }
    /**
	 * POJO To JSON
	 * 
	 * @param value
	 * @return
	 */
	public static String createJsonString(Object value) {
		return JSON.toJSONString(value);
	}

}
